package com.sqx.modules.health.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author gxy
 * @ClassName Receive.java
 * @createTime 2022/5/11 14:08
 */
@Data
@TableName("ncg_receive")
public class Receive implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("UUID,唯一标识，用以获取报告")
    private String patientId;

    @ApiModelProperty("患者ID")
    private Integer uid;

    @ApiModelProperty("医护操作员ID")
    private Integer doctorid;

    @ApiModelProperty("记录创建时间")
    private String createtime;

    @ApiModelProperty("识别码")
    private String imei;

    @ApiModelProperty("数据发送类型")
    private String deviceType;

    @ApiModelProperty("版本")
    private String version;

    @ApiModelProperty("血压测量结果 - 收缩压")
    private String sys;

    @ApiModelProperty("血压测量结果 - 舒张压")
    private String dia;

    @ApiModelProperty("血压测量结果 - 脉搏")
    private String pul;

    @ApiModelProperty("血糖测量结果")
    private String glucose;

    @ApiModelProperty("设备SN码")
    private String devSN;

    @ApiModelProperty("患者姓名")
    @TableField(typeHandler = FastjsonTypeHandler.class, exist = false)
    private String uName;

}
